#import <Foundation/Foundation.h>
UIKIT_EXTERN NSString * const DDPlatformLoginNotification;
UIKIT_EXTERN NSString * const DDPlatformPayNotification;
UIKIT_EXTERN NSString * const DDPlatformCancelNotification;
UIKIT_EXTERN NSString * const DDPlatformInitSuccessNotification;
@class DDProduct;
/// <#Description#>
@interface DDPlatform : NSObject
+ (instancetype)platform;
+ (void)initPlatform:(NSString *)appID serviceHeader:(NSString *)serviceHeader pubKey:(NSString *)key channelID:(NSString *)channelID;
+ (void)prepareLogin;
+ (void)prepareZF:(DDProduct *)product;

/**
 h5链接
 */
+ (void)setupH5;


/// 更新登陆时间/最后在线时间/渠道分包等相关信息
/// @param dict {serverid:xxx,
///             servername:xxx,
///             reloid:xxx,
///             reloname:xxx,
///             relolevel:xxx}
+ (void)updateRoleInfo:(NSDictionary *)dict;
@end
